Skip to content

CardView - "Clear selection" button doesn't clear selection if the option method updates the selectedCardKeys property (T1306438)#33777

Merged
markallenramirez merged 13 commits into
DevExpress:26_1from
markallenramirez:bug_T1306438/26_1
Jun 5, 2026
Merged

CardView - "Clear selection" button doesn't clear selection if the option method updates the selectedCardKeys property (T1306438)#33777
markallenramirez merged 13 commits into
DevExpress:26_1from
markallenramirez:bug_T1306438/26_1

Conversation

@markallenramirez
Copy link
Copy Markdown
Contributor

No description provided.

@markallenramirez markallenramirez self-assigned this Jun 1, 2026
Copilot AI review requested due to automatic review settings June 1, 2026 07:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes CardView selection synchronization so the “Clear selection” toolbar button correctly clears selection even when selectedCardKeys is updated at runtime via the option API.

Changes:

  • Updated selection synchronization effect to react to selectedCardKeys changes (use reactive .value instead of .peek()).
  • Added an integration test covering “clear selection after runtime selectedCardKeys option update”.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/devextreme/js/__internal/grids/new/grid_core/selection/controller.ts Makes the post-load selection application track runtime selectedCardKeys updates.
packages/devextreme/js/__internal/grids/new/grid_core/selection/controller.integration.test.ts Adds regression coverage for the toolbar “Clear selection” scenario after an option-based update.

anna-shakhova
anna-shakhova previously approved these changes Jun 1, 2026
Copilot AI review requested due to automatic review settings June 3, 2026 04:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread packages/devextreme/js/__internal/grids/new/grid_core/selection/controller.ts Outdated
@markallenramirez markallenramirez requested a review from a team as a code owner June 4, 2026 10:11
Copilot AI review requested due to automatic review settings June 4, 2026 10:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings June 5, 2026 07:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment thread packages/devextreme/js/__internal/ui/selection/selection.ts Outdated
Copilot AI review requested due to automatic review settings June 5, 2026 08:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread packages/devextreme/js/__internal/ui/selection/selection.ts Outdated
Comment thread packages/devextreme/js/__internal/ui/selection/selection.ts Outdated
Copilot AI review requested due to automatic review settings June 5, 2026 09:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants